//
//  SFHFKeychainUtils.h
//  ClassRoom
//
//  Created by apple on 12-12-2.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SFHFKeychainUtils : NSObject

+ (NSString *) getPasswordForUsername: (NSString *) username 
                       andServiceName: (NSString *) serviceName 
                                error: (NSError **) error;



+ (BOOL) storeUsername: (NSString *) username 
           andPassword: (NSString *) password 
        forServiceName: (NSString *) serviceName 
        updateExisting: (BOOL) updateExisting 
                 error: (NSError **) error;



+ (BOOL) deleteItemForUsername: (NSString *) username 
                andServiceName: (NSString *) serviceName 
                         error: (NSError **) error;

@end
